import React,{lazy} from 'react'
const Home=lazy(()=>import('../pages/home'))
const List=lazy(()=>import('../pages/list'))
const User=lazy(()=>import('../pages/user'))
export default [{
    path:'/',
    name:'home',
    element:<Home></Home>
},{
    path:'/list',
    name:'list',
    element:<List></List>
},{
    path:'/user',
    name:'user',
    element:<User></User>
},]